<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
	name="viewport">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="format-detection" content="telephone=yes" />
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/css/bootstrap.min.css" />
<title>跑腿任务</title>
</head>
<script src="${pageContext.request.contextPath}/js/jquery-1.6min.js"></script>
<style>
body,html,h1,h2,h3{
margin:0;padding: 0;
}
.content{
	min-height:103px;width: 96%;border:1px solid #CDCDC1;margin:5px auto;
	background: #fff;border-radius:3px;
}
.content span{
line-height:20px;font-size:10px;
}
</style>
<script type="text/javascript">
$(function(){
})
function blank(){
	window.location.href="http://www.baidu.com";
}
function addTask(){
	var path=document.getElementById("path").value;
	window.location.href=path+"TaskController/addTask.action";
}
</script>

<body style="text-align: center;background: #FFFFF0">
	<div style="text-align: center;">
	<img src="${pageContext.request.contextPath}/img/deyangpotuilogo.png" style="height:70px;">
	</div>
	<div style="text-align:center;" >
		<div class="content" onclick="return blank()">
			<label style="color:red;font-family:SimHei">明天早上8点半买早餐</label>
			<br>
			<span>位置:旌阳区-庐山北路3段</span>
			<br>
			<span>任务佣金:</span>
			<label>¥4.0</label>
			<br>
			<span>委托人:</span>
			<label>大哥王</label>
			<br>
			<span style="font-size:12px">发布时间:2017年11月28日 09点25分</span>
		</div>
		<div class="content" onclick="return blank()">
			<label style="color:red;font-family:SimHei">下午6点到汽车南站取货</label>
			<br>
			<span>位置:旌阳区-庐山北路3段</span>
			<br>
			<span>任务佣金:</span>
			<label>¥4.0</label>
			<br>
			<span>委托人:</span>
			<label>ceshi001</label>
			<br>
			<span style="font-size:12px">发布时间:2017年11月28日 09点25分</span>
		</div>
	</div>
	<div style="height:35px;position: fixed;bottom:0;background:#fff;text-align:center;width:100%;
	border-top:2px solid #F2F2F2;" onclick="return addTask()">
		<h3 style="line-height:35px;font-weight:600;color:#FF7F24;background:#FFFACD;
		font-family: Microsoft YaHei">发布跑腿任务 +</h3>
	</div>
	<input type="hidden" id="path" value="${pageContext.request.contextPath}/">
</body>
</html>